package x.amadeus.announcement.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import x.amadeus.announcement.domain.Announcement;
import x.amadeus.announcement.domain.Message;



public interface AnnouncementMapper {

	List<Announcement> findAll();

	Announcement findByAid(@Param("aid")String aid);

	void add(Announcement announcement);

	void edit(Announcement announcement);

	void delete(@Param("aid")String aid);

	List<Message> findAllM();

	
	void addM(Message msg);


}
